package com.highper.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.highper.common.entity.po.gateway.GatewayList;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author ZhangGJ
 * @Date 2022/01/27 13:54
 */
@Mapper
public interface GatewayListMapper extends BaseMapper<GatewayList> {

    /**
     * 获取网关地址列表
     *
     * 地址类型 0-黑名单 1-白名单
     *
     * @param type
     * @return
     */
    String[] selectGatewayList(int type);
}
